//
//  ColorModel.m
//  房源、商铺、写字楼详情页
//
//  Created by MB__Lee on 2018/5/22.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//





#import "ColorModel.h"
@implementation ColorModel
-(NSMutableArray *)mut{
    if (!_mut) {
        _mut  = [NSMutableArray array];
    }
    return  _mut;
}

-(instancetype)init{
    if (self = [super init]) {
        
     
        MBDetailModelC *one  = [[MBDetailModelC alloc] init];
        one.textColor = MB_RGBA(224, 193, 77, 1.0);
        one.backColor = MB_RGBA(252, 245, 217, 1.0);
        
        MBDetailModelC *two = [[MBDetailModelC alloc] init];
        two.textColor =  MB_RGBA(82, 168, 253, 1.0);
        two.backColor =  MB_RGBA(230, 242, 255, 1.0);
        
        MBDetailModelC *three = [[MBDetailModelC alloc] init];
        three.textColor = MB_RGBA(78, 207, 117, 1.0);
        three.backColor = MB_RGBA(220, 246, 228, 1.0);
        
        MBDetailModelC *four = [[MBDetailModelC alloc] init];
        four.textColor = MB_RGBA(122, 185, 203, 1.0);
        four.backColor =  MB_RGBA(208, 238, 247, 1.0);
        
        MBDetailModelC *five = [[MBDetailModelC alloc] init];
        five.textColor = MB_RGBA(235, 182, 255, 1.0);
        five.backColor = MB_RGBA(255, 242, 230, 1.0);
        
        MBDetailModelC *six = [[MBDetailModelC alloc] init];
        six.textColor = MB_RGBA(136, 133, 236, 1.0);
        six.backColor = MB_RGBA(234, 230, 255, 1.0);
        
        
        [self.mut removeAllObjects];
        [self.mut addObjectsFromArray:@[one,two,three,four,five,six,one,two,three,four,five,six]];
        [self.mut addObjectsFromArray:@[one,two,three,four,five,six,one,two,three,four,five,six]];
        
        
    }
    return  self;
}

@end
